package com.aiolos.springboot.stepbystep;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.retry.annotation.EnableRetry;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
@ServletComponentScan
@EnableAsync //开启异步调用
@EnableRetry //开启重试机制
public class StepbystepApplication {

    public static void main(String[] args) {
        SpringApplication.run(StepbystepApplication.class, args);
    }

}
